package com.k2091.washcar.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("users_car")
public class UsersCar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("number")
    private String number;

    @TableField("brand")
    private String brand;

    @TableField("color")
    private String color;

    @TableField("status")
    private int status;

    /**
     * 用户Id
     */
    @TableField("userId")
    private Long userId;

    @TableField("evaluate")
    private String evaluate;

    /**
     * 0.轿车，1.SUV，2.电车（两座）3.其他
     */
    @TableField("type")
    private Integer type;

    @TableField(exist = false)
    private String mobile;
    @TableField(exist = false)
    private String userName;
}
